$OpenBSD: patch-Makefile,v 1.5 2017/06/08 14:29:37 czarkoff Exp $
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -12,10 +12,6 @@ VER_PATCH := 3
 PROJECT   := re
 VERSION   := 0.5.3
 
-MK	:= mk/re.mk
-
-include $(MK)
-
 # List of modules
 MODULES += sip sipevent sipreg sipsess
 MODULES += uri http httpauth msg websock
@@ -63,13 +59,11 @@ all: $(SHARED) $(STATIC)
 
 
 $(SHARED): $(OBJS)
-	@echo "  LD      $@"
-	@$(LD) $(LFLAGS) $(SH_LFLAGS) $^ $(LIBS) -o $@
+	$(LD) $(LFLAGS) $(SH_LFLAGS) $^ $(LIBS) -o $@
 
 
 $(STATIC): $(OBJS)
-	@echo "  AR      $@"
-	@$(AR) $(AFLAGS) $@ $^
+	$(AR) $(AFLAGS) $@ $^
 ifneq ($(RANLIB),)
 	@$(RANLIB) $@
 endif
@@ -88,12 +82,11 @@ libre.pc:
 	@echo 'Libs.private: -L$${libdir} -lre ${LIBS}' >> libre.pc
 	@echo 'Cflags: -I$${includedir}' >> libre.pc
 
-$(BUILD)/%.o: src/%.c $(BUILD) Makefile $(MK) $(MODMKS)
-	@echo "  CC      $@"
-	@$(CC) $(CFLAGS) -c $< -o $@ $(DFLAGS)
+$(BUILD)/%.o: src/%.c $(BUILD) Makefile $(MODMKS)
+	$(CC) $(CFLAGS) -c $< -o $@ $(DFLAGS)
 
 
-$(BUILD): Makefile $(MK) $(MODMKS)
+$(BUILD): Makefile $(MODMKS)
 	@mkdir -p $(patsubst %,$(BUILD)/%,$(sort $(dir $(SRCS))))
 	@touch $@
 
@@ -111,7 +104,6 @@ install: $(SHARED) $(STATIC) libre.pc
 	$(INSTALL) -m 0755 $(SHARED) $(DESTDIR)$(LIBDIR)
 	$(INSTALL) -m 0755 $(STATIC) $(DESTDIR)$(LIBDIR)
 	$(INSTALL) -m 0644 libre.pc $(DESTDIR)$(LIBDIR)/pkgconfig
-	$(INSTALL) -m 0644 $(MK) $(DESTDIR)$(MKDIR)
 
 uninstall:
 	@rm -rf $(DESTDIR)$(INCDIR)
@@ -122,13 +114,11 @@ uninstall:
 
 -include test.d
 
-test.o:	test.c Makefile $(MK)
-	@echo "  CC      $@"
-	@$(CC) $(CFLAGS) -c $< -o $@ $(DFLAGS)
+test.o:	test.c Makefile
+	$(CC) $(CFLAGS) -c $< -o $@ $(DFLAGS)
 
 test$(BIN_SUFFIX): test.o $(SHARED) $(STATIC)
-	@echo "  LD      $@"
-	@$(LD) $(LFLAGS) $< -L. -lre $(LIBS) -o $@
+	$(LD) $(LFLAGS) $< -L. -lre $(LIBS) -o $@
 
 sym:	$(SHARED)
 	@nm $(SHARED) | grep " U " | perl -pe 's/\s*U\s+(.*)/$${1}/' \
